home *** CD-ROM | disk | FTP | other *** search
/ Sprite 1984 - 1993 / Sprite 1984 - 1993.iso / src / cmds / lfsrecov / dirlog.h < prev    next >
Encoding:
C/C++ Source or Header  |  1991-06-14  |  1.2 KB  |  44 lines

  1. /*
  2.  * dirlog.h --
  3.  *
  4.  *    Declarations of the interface the the directory change log
  5.  *    mantipulation routines in dirlog.c
  6.  *
  7.  * Copyright 1991 Regents of the University of California
  8.  * Permission to use, copy, modify, and distribute this
  9.  * software and its documentation for any purpose and without
  10.  * fee is hereby granted, provided that this copyright
  11.  * notice appears in all copies.  The University of California
  12.  * makes no representations about the suitability of this
  13.  * software for any purpose.  It is provided "as is" without
  14.  * express or implied warranty.
  15.  *
  16.  * $Header: /sprite/lib/forms/RCS/proto.h,v 1.7 91/02/09 13:24:52 ouster Exp $ SPRITE (Berkeley)
  17.  */
  18.  
  19. #ifndef _DIRLOG
  20. #define _DIRLOG
  21.  
  22. /* constants */
  23.  
  24. /* data structures */
  25.  
  26. /* procedures */
  27.  
  28. extern void RecordLogEntryStart _ARGS_((LfsDirOpLogEntry *entryPtr, 
  29.                     int addr));
  30. extern Boolean FindStartEntryAddr _ARGS_((int logSeqNum, int *addrPtr));
  31.  
  32. extern char *DirOpFlagsToString _ARGS_((int opFlags));
  33.  
  34. extern void ShowDirLogBlock _ARGS_((LfsDirOpLogBlockHdr *hdrPtr, int addr));
  35.  
  36. extern void RecovDirLogBlock _ARGS_((LfsDirOpLogBlockHdr *hdrPtr, int addr, 
  37.             enum Pass pass));
  38.  
  39. extern void RecovDirLogEntry _ARGS_((LfsDirOpLogEntry *entryPtr, int addr));
  40.  
  41. #endif /* _DIRLOG */
  42.  
  43.  
  44.